#ifndef __IOFILEWIN32_H__
#define __IOFILEWIN32_H__

#include "IOFile.h"

class CIOFileDisk : public CIOFile
{
protected:
	FILE *FileBuffer;
public:
	CIOFileDisk(stringc dir,stringc filename,CFileSystem *fsp);
	virtual ~CIOFileDisk();

	virtual u32 CopyFromFileToMemory(u32 Size);
	virtual IIOFile *CreateBinaryFile(stringc Name);
	virtual bool OpenFileForWriting(stringc Name);
	virtual u32 WriteBinary(void *Buffer,u32 Size);
	virtual bool CloseFile();

	virtual bool FindFirst(stringc Path,FindDataStrc *fdata);
	virtual bool FindNext(FindDataStrc *fdata);
	virtual bool FindClose();
	virtual bool IsSubDir(FindDataStrc *fdata);
};

#endif
